<template>
  {{msg}}
</template>

<script>
import { reactive, toRefs } from 'vue'

export default {
  setup () {
    const state = reactive({
      msg: '我是主页'
    })

    return {
      ...toRefs(state)
    }
  }
}
</script>

<style scoped>

</style>
